-- GENERATED SPELL FOR [Taunka'le Brave] --


function spell0_26157(pUnit, Event) --@Ground Slam,Self--
pUnit:FullCastSpellOnTarget(52058,pUnit)
pUnit:RegisterEvent('Sorts_26157', 1000, 1)
end

function Sorts_26157(pUnit, Event)
local choix_sorts_26157 = math.random(0, 0)
if choix_sorts_26157 == 0 then
pUnit:RegisterEvent('spell0_26157', 1, 1)
end
end

function mob26157_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_26157', math.random(1500, 3000), 1)
end

function mob26157_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26157_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26157_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(26157, 1, 'mob26157_Action')
RegisterUnitEvent(26157, 2, 'mob26157_Leave')
RegisterUnitEvent(26157, 3, 'mob26157_Kill')
RegisterUnitEvent(26157, 4, 'mob26157_Die')
